// 底部导航栏
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 999;
  width: 100%;
  height: 1rem;
  box-sizing: border-box;
  border-top: 1px solid #ccc;
  background: white;
  display: flex;
  justify-content: space-around;
  .bar-item {
    // background: #efefef;
    // width: 10rem;
    text-decoration: none;
    color: #999;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .link-active {
    color: $maincolor;
    .icon-index {
      background-image: url(../assets/images/bottom-bar/icon-index-active.png);
    }
    .icon-cat {
      background-image: url(../assets/images/bottom-bar/icon-catalog-active.png);
    }
    .icon-shopcar {
      background-image: url(../assets/images/bottom-bar/icon-shopcar-active.png);
    }
    .icon-mine {
      background-image: url(../assets/images/bottom-bar/icon-mine-active.png);
    }
  }
  .text {
    display: inline-block;
    font-size: .2rem;
    width: 1rem;
    text-align: center;
    margin-top: .12rem;
  }
  .icon {
    display: inline-block;
    // background: #efefef;
    height: .44rem;
    width: .44rem;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center center;
  }
  .icon-index {
    background-image: url(../assets/images/bottom-bar/icon-index.png);
  }
  .icon-cat {
    background-image: url(../assets/images/bottom-bar/icon-catalog.png);
  }
  .icon-shopcar {
    background-image: url(../assets/images/bottom-bar/icon-shopcar.png);
  }
  .icon-mine {
    background-image: url(../assets/images/bottom-bar/icon-mine.png);
  }
}
